package com.panghl.security.service;

import com.panghl.security.model.AuthenticationRequest;
import com.panghl.security.model.UserDto;

/**
 * @Author panghl
 * @Date 2022/2/19
 * @Description 认证接口
 **/
public interface AuthenticationService {
    /**
     * 用户认证
     * @param authenticationRequest 用户认证请求
     * @return 认证成功的用户信息
     */
    UserDto authentication(AuthenticationRequest authenticationRequest);
}
